package io.renren.modules.report.service;

import com.alibaba.excel.ExcelWriter;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperPrint;

import javax.servlet.http.HttpServletResponse;
import java.io.FileNotFoundException;

public interface ReportService {

     void optPdf(HttpServletResponse response, String businessUuid, Integer optType) throws Exception;

    JasperPrint goodsConsumeReport(String id, String reportName) throws Exception;

    JasperPrint rgchkReport(String id, String reportName) throws Exception;

    JasperPrint priceReviewReport(String id, String reportName)throws Exception;

    JasperPrint quotationReport(String id, String reportName)throws Exception;

    JasperPrint workerReport(String id, String reportName)throws Exception;

    JasperPrint askReport(String id, String reportName)throws Exception;

    JasperPrint picReport(String id, String reportName)throws Exception;

    void goodsConsumeExcel(String id, String reportName,ExcelWriter excelWriter)throws Exception;

    void rgchkExcel(String id, String reportName,ExcelWriter excelWriter)throws Exception;

    void priceReview(String id, String reportName,ExcelWriter excelWriter)throws Exception;
}
